import Layout from "@/pages/Layout"
import Login from "@/pages/Login"
import { createBrowserRouter } from 'react-router-dom'

// 配置路由

const router = createBrowserRouter(
  [
    {
      path: '/',
      element: <Layout />
    },
    {
      path: '/login',
      element: <Login />
    }
  ]
)

export default router